package com.tbit.main.dao.core;

import com.tbit.main.pojo.ParkPointBoundAbnormal;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author LMY
 * @create 2021-12-22 20:08
 */
public interface ParkPointBoundAbnormalDao {

    void add(ParkPointBoundAbnormal parkPointBoundAbnormal);

    void del(String machineNO);

    List<ParkPointBoundAbnormal> getByTypeState(Map<String, Object> map);

    void delBatch(@Param("machineNOs") String machineNOs);

    void addBatch(@Param("machineNOs") List<String> machineNOs, @Param("type") Integer type, @Param("state") Integer state, @Param("time") String time,
                  @Param("userMainId") Integer userMainId, @Param("accountId") Integer accountId);

    List<ParkPointBoundAbnormal> getByMachineNO(Map<String, Object> map);
}
